package cn.worldyao.homework.service.impl;

import cn.worldyao.homework.entity.StuClassR;
import cn.worldyao.homework.mapper.StuClassRMapper;
import cn.worldyao.homework.service.StuClassRService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yaozi
 * @since 2020-05-11
 */
@Service
public class StuClassRServiceImpl extends ServiceImpl<StuClassRMapper, StuClassR> implements StuClassRService {

    @Override
    public List<StuClassR> getStudentAndClassByClassTeacher(Integer teacherId) {
        return this.baseMapper.getStudentAndClassByClassTeacher(teacherId);
    }
}
